<?php
namespace haibao\cms\model\data\attendance;

Class AttendanceApproved extends \haibao\cms\model\data\Base{
	
	const STATUS_APPROVE = 1;//员工已批准
	const STATUS_MANAGER_AGREE = 2;//上级批准
	const STATUS_DIRECTOR_AGREE = 3;//最终批准（不允许批准和删除批准了）
	/**
	* 员工工号
	*/
	public $JobNum;
	
	/**
	* 考勤周期
	*/
	public $AttendanceCyc;
	
	/**
	* 批准时间
	*/
	public $CreateTime;
	
	public $Status;
	
	public $AuditUserId;
	
	public function __construct(){
		parent::__construct();
		$this->intField('JobNum','JobNum',true);
		$this->intField('AttendanceCyc','AttendanceCyc',true);
		$this->dateField('CreateTime','CreateTime',true);
		$this->intField('Status','Status',true);
		$this->intField('AuditUserId','AuditUserId',true);
		
		$this->setTableName('AttendanceApproved');
	}
}